package cn.myra.equals;

public class TestDriver {

	public static void main(String[] args) {
		Animal animal1 = new Dog("male","dog","bone");
		Animal animal2 =new Dog("male","dog","bone");
		
		boolean is = animal1.equals(animal2);
		System.out.println("a1, a2内容相同  :"+is);
		
		
		Integer integer  = new Integer(30);
	}

}
